#pragma once
#include <windows.h>
#include <windowsX.h>
#include <tchar.h>
#include <commctrl.h>
#include "resource.h"
#include <stdio.h>
#include <fstream>
using namespace std;

#pragma comment(lib,"comctl32")

#ifdef UNICODE
#define tifstream wifstream
#define tofstream wofstream
#else
#define tifstream ifstream
#define tofstream ofstream
#endif